package com.kxmall.rider.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.kxmall.common.annotation.ExcelDictFormat;
import com.kxmall.common.convert.ExcelDictConvert;
import lombok.Data;

import java.math.BigDecimal;


/**
 * 配送商品信息视图对象 kx_rider_item
 *
 * @author kxmall
 * @date 2023-09-21
 */
@Data
@ExcelIgnoreUnannotated
public class KxRiderItemVo {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 配送单主键
     */
    @ExcelProperty(value = "配送单主键")
    private Long riderOrderId;

    /**
     * 商品名称
     */
    @ExcelProperty(value = "商品名称")
    private String spuName;

    /**
     * 数量
     */
    @ExcelProperty(value = "数量")
    private String amount;

    /**
     * 商品URL
     */
    @ExcelProperty(value = "商品URL")
    private String url;

    /**
     * 单价
     */
    @ExcelProperty(value = "单价")
    private BigDecimal unitPrice;

    /**
     * 优惠单价格
     */
    @ExcelProperty(value = "优惠单价格")
    private BigDecimal preferentialPrice;


}
